package com.dhy.payutil;

import com.dhy.payutil.alipay.AlipayInfo;

import junit.framework.TestCase;

import java.lang.reflect.Field;

public class PrintCode extends TestCase{

	public void testPrint(){
		Field[] fields = AlipayInfo.class.getDeclaredFields();
		for (Field f : fields) {
			System.out.println(String.format("map.put(\"%1$s\",this.%2$s);", f.getName(), f.getName()));
		}
	}
}
